package factory.simple;

import factory.Computer;

/**
 * 简单工厂模式
 * Created by liuweijie on 2018/4/24.
 */
public class Test {
    
    public static void main(String[] args){
        SimpleFactory factory = new SimpleFactory();
        Computer computer = factory.getComputer("Asus");
        computer.play();
    }
}
